<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        article{
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items:flex-end;
        }
        div{
            width:100px;
            height:100px;
            margin:10px;
            border:1px solid #ccc;
            flex-shrink: 0;
        }
    </style>
</head>
<body>
    <article>
        <div>1</div>
        <div style="height: 50px;align-self: flex-start;">2</div>
        <div style="height: 150px;">3</div>
        <div>4</div>
    </article>
</body>
</html>